package org.wang.generalcode.modules.exam.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 科目表
 *
 * @author wz 1013069553@qq.com
 * @since 1.0.0 2024-11-22
 */
@Data
@Schema(description = "科目表")
public class SubjectInfoVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    @Schema(description = "阶段（1 小学 2. 初中 3. 高中)")
    private Integer schoolType;

    @Schema(description = "所属年级id")
    private Integer gradeInfoId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private String schoolTypeName;

    private String gradeName;


}